package app1

import (
	PrdDao "training-camp/week4/internal/dao/app1"
)

type Product struct {
}

func New() *Product {
	return &Product{}
}
func (p *Product) GetStock(id int32) (int32, error) {

	//do somethind
	//get data from mysql
	return PrdDao.GetStockById(id)
}
